-
-
Couldn't load subscription status.
- Fork 1.7k
feat(node): Drop 401-404 and 3xx status code spans by default #16972
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
In addition to 404, we now also drop 3xx (e.g. 301 MOVED_PERMANTENTLY) spans by default. These are usually not helpful.
size-limit report 📦
|
|
|
||
| expect(errorEvent.transaction).toBe('Page.generateViewport (/generation-functions)'); | ||
| }); | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed this test because the redirect is no longer sent.
|
@mydea updated failing tests and updated the range to 401-404. Could you please have another look? |
|
can't approve, but looks good - merging in ❤️ |
In addition to 404, we now also drop 401, 402, 403 and 3xx (e.g. 301 MOVED_PERMANTENTLY) spans by default. These are usually not helpful. Noticed this in some react-router E2E test where 301 spans were messing with the test, but these should not even be captured really. --------- Co-authored-by: Andrei Borza <[email protected]>
In addition to 404, we now also drop 401, 402, 403 and 3xx (e.g. 301 MOVED_PERMANTENTLY) spans by default.
These are usually not helpful.
Noticed this in some react-router E2E test where 301 spans were messing with the test, but these should not even be captured really.